#ifndef ABSTRACTACTION_H
#define ABSTRACTACTION_H
#include "Action.h"
#include "Message.h"

class AbstractAction:public Action
{
public:
	virtual void redo()=0;
	virtual void undo()=0;
	Message output()
	{
		return _m;
	}
	void input(Message& m)
	{
		_m=m;
	}
protected:
	Message _m;
};




#endif